
export default class DataColumn {
	constructor(name) {
		this.name = name
	}
	
	label = "";
	visible = true;
	displayLength = 0;
	alignment = "Left";
	tableFieldId = "";
	dataSourceFieldId = "";
	
	getName() {
		return this.name;
	}
	
	getLabel() {
		return this.label;
	}
	
	setLabel(label) {
		this.label = label;
	}

	isVisible() {
		return this.visible;
	}
	
	setVisible(visible) {
		this.visible = visible;
	}

	getHelpText() {
		return this.helpText;
	}
	
	setHelpText(helpText) {
		this.helpText = helpText;
	}

	getDisplayLength() {
		return this.displayLength;
	}

	setDisplayLength(displayLength) {
		this.displayLength = displayLength;
	}

	getAlignment() {
		return this.alignment;
	}

	setAlignment(alignment) {
		this.alignment = alignment;
	}

	getTableFieldId() {
		return this.tableFieldId;
	}
	
	setTableFieldId(tableFieldId) {
		this.tableFieldId = tableFieldId;
	}

	getDataSourceFieldId() {
		return this.dataSourceFieldId;
	}

	setDataSourceFieldId(dataSourceFieldId) {
		this.dataSourceFieldId = dataSourceFieldId;
	}
}